﻿<%@ Page Language="C#" MasterPageFile="../MasterPages/Normal.Master" AutoEventWireup="true"
    CodeBehind="Create.aspx.cs" Inherits="zdzh.zdmgr.UIL.xiaoshoup.Create" %>
    
<asp:Content ID="ContentArea" ContentPlaceHolderID="MainContent" runat="server">
        <style type="text/css">
            .InfoContent li
            {
                min-height: 30px;
                line-height: 20px;
                float: left;
                margin:5px 0 5px 0;
            }
        </style>
        <script language="JavaScript" type="text/javascript" src="../js/preview.js"></script> 
        <div id="ScorllArea">
            <div class="InfoArea" style="min-width: 600px;">
                <div class="InfoHeader">销售收款</div>
                    <!--startprint-->
                <div class="InfoContentPrint">
                    <p align="center" style="font-size: xx-large; width: 600px;">
                	    <asp:Label ID="LblShouju" runat="server" Text="收      据"></asp:Label>
                    </p>
                    <table class="TableDataPrint">
			            <colgroup>
				            <col width="80px" />
				            <col width="80px" />
				            <col width="160px" />
				            <col width="80px" />
				            <col width="80px" />
				            <col width="120px" />
			            </colgroup>
                        <tr class="TableRow">
                            <td>合同号：</td>
                            <td><asp:Label ID="LblNumber" runat="server"></asp:Label></td>
                            <td colspan="2"><asp:Label ID="LblDate" runat="server"></asp:Label></td>
                            <td colspan="2"><asp:Label ID="LblCrc" runat="server" Width="200px"></asp:Label></td>
                        </tr>
                        <tr class="TableRow">
                            <td>交款单位：</td>
                            <td colspan="2" align="center"><asp:TextBox ID="TxtOwner" runat="server" 
                                    Width="98%" BorderStyle="None" Height="30px"></asp:TextBox></td>
                            <td colspan="3">交款方式：<asp:DropDownList ID="DdlPayMode" runat="server">
                                <asp:ListItem>现金</asp:ListItem>
                                <asp:ListItem>转账</asp:ListItem>
                                <asp:ListItem>其他</asp:ListItem>
                                </asp:DropDownList></td>
                        </tr>
                        <tr class="TableRow">
                            <td colspan="2">人民币（大写）：</td>
                            <td colspan="2" align="left"><asp:Label ID="LblMoney" runat="server"></asp:Label></td>
                            <td colspan="2">金额：<asp:TextBox ID="TxtMoney" runat="server" BorderStyle="None" 
                                    Height="30px" AutoPostBack="True" ontextchanged="TxtMoney_TextChanged"></asp:TextBox></td>
                        </tr>
                        <tr class="TableRow">
                            <td>物业：</td>
                            <td colspan="2">
                                <asp:Label ID="LblBuild" runat="server" Text="Label"></asp:Label>
                            </td>
                            <td>面积：</td>
                            <td colspan="2">
                                <asp:Label ID="LblArea" runat="server" Text="Label" Width="98%"></asp:Label>
                            </td>
                        </tr>
                        <tr class="TableRow">
                            <td>款项事由：</td>
                            <td><asp:DropDownList ID="DdlType" runat="server" AutoPostBack="True" 
                                    onselectedindexchanged="DdlType_SelectedIndexChanged">
                                <asp:ListItem>定金</asp:ListItem>
                                <asp:ListItem>首付</asp:ListItem>
                                <asp:ListItem>分期</asp:ListItem>
                                <asp:ListItem>退订</asp:ListItem>
                                <asp:ListItem>拆迁补偿</asp:ListItem>
                                <asp:ListItem>拆迁补差</asp:ListItem>
                                </asp:DropDownList></td>
                            <td colspan="4" title="备注">
                                <asp:TextBox ID="TxtRemark" runat="server" BorderStyle="None" Height="30px" Width="98%"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                    <p>&nbsp;&nbsp; 
                        <asp:Label ID="LblCompany" runat="server" Text="单位：大庆市正大中和房地产开发有限公司"></asp:Label>
                        &nbsp;&nbsp;&nbsp; 
                        <asp:Label ID="Label2" runat="server" Text="开票人："></asp:Label>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        <asp:Label ID="LblShoukuanren" runat="server" Text="收款人：" Visible="False"></asp:Label>
                    </p>
                </div>
                    <!--endprint-->
            </div>
            <div id="ScorllFooter"></div>
        </div>
        <div id="Footer">
            <div class="ButtonArea">
                <asp:Button ID="BtnSave" runat="server" Text="保存" CssClass="Button"  onclick="BtnSave_Click" />
                <input class="Button" onclick="preview()" type="button" value="预览并打印" />
                <input class="Button" onclick="location='Default.aspx'" type="button" value="取消" />
            </div>
        </div>

        <script language="javascript" type="text/javascript">
            //页面载入完成后，将第一个编辑控件设为选中状态。
            document.getElementById("<%=TxtMoney.ClientID%>").focus();
        </script>
</asp:Content>
